package Com.amit.corejava;

public class Lab120 {

	int id;
	String name;
	String address;
	
	public Lab120(int id, String name, String address) {
		super();
		this.id = id;
		this.name = name;
		this.address = address;
	}
	
	@Override
	public String toString() {
	
		return id+" "+name+" "+address;
	}

	public static void main(String[] args) {
		
		Lab120 l1=new Lab120(1,"amit", "lko");
		
		Lab120 l2=new Lab120(2,"amit1", "lko1");
		
		System.out.println(l1);
		System.out.println(l2);
		

	}

}
